package com.qf.service.impl;

import com.qf.entity.LoginUser;
import com.qf.entity.User;
import com.qf.mapper.UserMapper;
import com.qf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(LoginUser loginUser) {
        User user = userMapper.login(loginUser);
        return user;
    }
}
